package com.uottawa.clickerapp.views;

import com.uottawa.clickerapp.service.ClickerAppWebServiceClient;
import com.uottawa.clickerapp.service.impl.*;
import java.util.TimerTask;

import android.app.Activity;

public class PollReloader extends TimerTask {
	
	PollsActivity v;
	
	public PollReloader(PollsActivity v){
		this.v = v;
	}

	@Override
	public void run() {
		
//		ClickerAppWebServiceClient service = ClickerAppWebServiceClientImpl.getInstance();
		
//		v.setQuestion( service.getQuestions(v.getQuestion().getID()).getAnswers());
		v.loadPolls();

	}

}
